package com.labuladong;

/**
 * 项目名称: java_algorithm
 * @ClassName TreeNode
 * @Description
 * @Author huipanxing huipanxing@chinasofti.com   @Date 2022/6/10 10:55
 */
public class TreeNode {

    private TreeNode leftNode;
    private TreeNode rightNode;
    private int treeValue;

    public TreeNode getLeftNode() {
        return leftNode;
    }

    public void setLeftNode(TreeNode leftNode) {
        this.leftNode = leftNode;
    }

    public TreeNode getRightNode() {
        return rightNode;
    }

    public void setRightNode(TreeNode rightNode) {
        this.rightNode = rightNode;
    }

    public int getTreeValue() {
        return treeValue;
    }

    public void setTreeValue(int treeValue) {
        this.treeValue = treeValue;
    }
}
